import http from "./request.js";

async function getBanner() {
  let { data } = await http("https://api.it120.cc/small4/banner/list", "get");
  //   let {data}={data:[],status:200,config}
  return data;
}

async function getres() {
  let data = await http("/api/suggest?word=1");
  return data;
}

export { getBanner, getres };
